<!--{eval $_G['home_tpl_titles'] = array('{lang share}');}-->
<!--{if empty($diymode)}-->
<!--{template common/header}-->

<div id="pt" class="wp">
	<a href="index.php" class="nvhm">$_G[setting][bbname]</a> &rsaquo;
	<a href="home.php">$_G[setting][navs][4][navname]</a> &rsaquo; 
	<a href="home.php?mod=space&do=share">{lang share}</a>
	<!--{if $_GET['view']=='me'}-->
	 &rsaquo; <a href="home.php?mod=space&uid=$space[uid]&do=share&view=me">{$space[username]}{lang somebody_share}</a>
	<!--{/if}-->
</div>

<style id="diy_style" type="text/css"></style>
<div class="wp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>

<div id="ct" class="wp cl">
	<div class="mn">
		<div class="frame-3-1 cl">
			<div class="col-r">
				<dl class="bn xld">
					{lang how_to_share_tips}
				</dl>
			</div>
			<div class="col-l">

		<div class="bm share">
			{hook/space_share_top}
			<!--{if $space[self]}-->
				<h1 class="mt"><img alt="share" src="{STATICURL}image/feed/share.gif" class="vm" /> {lang share}</h1>
				<!--{template home/space_share_form}-->
				{hook/space_share_bottom}
				<ul class="tb cl">
					<li$actives[we]><a href="home.php?mod=space&uid=$space[uid]&do=share&view=we">{lang friend_share}</a></li>
					<li$actives[me]><a href="home.php?mod=space&uid=$space[uid]&do=share&view=me">{lang my_share}</a></li>
					<li$actives[all]><a href="home.php?mod=space&uid=$space[uid]&do=share&view=all">{lang view_all}</a></li>
				</ul>
			<!--{else}-->
				<!--{eval
					$_G['home_tpl_spacemenus'][] = "<a href=\"home.php?mod=space&uid=$space[uid]&do=share&view=me\">{lang they_share}</a>";
				}-->
				<!--{template home/space_menu}-->
			<!--{/if}-->


<!--{else}-->
<!--{template home/space_header}-->
	<div id="ct" class="wp n cl">
		<div class="mn">
			<div class="bm">
				<h1 class="mt">{lang share}</h1>
				<!--{if $space[self]}--><!--{template home/space_share_form}--><!--{/if}-->
<!--{/if}-->

			<p class="tbmu">
				{lang order_by_type}:
				<a href="$theurl&type=all"$sub_actives[type_all]>{lang all}</a><span class="pipe">|</span>
				<a href="$theurl&type=link"$sub_actives[type_link]>{lang website}</a><span class="pipe">|</span>
				<a href="$theurl&type=video"$sub_actives[type_video]>{lang video}</a><span class="pipe">|</span>
				<a href="$theurl&type=music"$sub_actives[type_music]>{lang music}</a><span class="pipe">|</span>
				<a href="$theurl&type=flash"$sub_actives[type_flash]>{lang flash}</a><span class="pipe">|</span>
				<a href="$theurl&type=blog"$sub_actives[type_blog]>{lang blog}</a><span class="pipe">|</span>
				<a href="$theurl&type=album"$sub_actives[type_album]>{lang album}</a><span class="pipe">|</span>
				<a href="$theurl&type=pic"$sub_actives[type_pic]>{lang pic}</a><span class="pipe">|</span>
				<a href="$theurl&type=poll"$sub_actives[type_poll]>{lang poll}</a><span class="pipe">|</span>
				<a href="$theurl&type=space"$sub_actives[type_space]>{lang user}</a><span class="pipe">|</span>
				<a href="$theurl&type=thread"$sub_actives[type_thread]>{lang post}</a><span class="pipe">|</span>
				<a href="$theurl&type=tag"$sub_actives[type_tag]>{lang tag}</a>
			</p>

			<!--{if $list}-->
			<ul id="share_ul" class="el sl">
				<!--{loop $list $k $value}-->
					<!--{template home/space_share_li}-->
				<!--{/loop}-->
			</ul>
			<!--{if $multi}--><div class="pgs cl">$multi</div><!--{/if}-->
			<!--{else}-->
			<ul id="share_ul" class="el sl"></ul>
			<p class="emp">{lang not_share_yet}</p>
			<!--{/if}-->
			
			
			
			
<!--{if empty($diymode)}-->
			</div></div>
		</div>
	</div>

	<div class="sd">
		{subtemplate common/userabout}
		
		<div class="drag">
			<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
		</div>
		
	</div>
</div>

<div class="wp mtn">
	<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>

<!--{else}-->
		</div>
	</div>
	<div class="sd">
		{subtemplate home/space_userabout}
	</div>
</div>
<!--{/if}-->

	<script type="text/javascript">
		function succeedhandle_shareadd(url, msg, values) {
			share_add(values['sid']);
		}
	</script>
				
<!--{template common/footer}-->
